<?php

class Application_Model_Clothing extends Application_Model_Product
{
	protected $_clothingId;
	protected $_type;
	protected $_matter;
	protected $_for;
	protected $_size;	
	public static $_typeclothing = array(		'1' => 'Top',
										 		'2' => 'Bottom',
												'3' => 'Underwear',
												'4' => 'Lingerie',
												'5' => 'Shoe',
												'6' => 'Other',
										);
	public static $_forChoice = array(	'1' => 'Male',
										'2' => 'Female',
										'3' => 'Child',
							);
	
	public function getAttribs()
	{
		$attribs = array(
				'name'				=> $this->getName(),
				'description'		=> $this->getDescription(),
				'url'				=> $this->getUrl(),
				'images'			=> $this->getImages(),
				'model'				=> $this->getModel(),
				'brand'				=> $this->getBrand(),
				'type'				=> $this->getType(),
				'matter'			=> $this->getMatter(),
				'for'				=> $this->getFor(),
				'size'				=> $this->getSize(),
		);
		return $attribs;
	}
	
	/**
	 * @return the $_clothingId
	 */
	public function getClothingId() {
		return $this->_clothingId;
	}

	/**
	 * @return the $_type
	 */
	public function getType() {
		return $this->_type;
	}

	/**
	 * @return the $_matter
	 */
	public function getMatter() {
		return $this->_matter;
	}

	/**
	 * @return the $_for
	 */
	public function getFor() {
		return $this->_for;
	}

	/**
	 * @return the $_size
	 */
	public function getSize() {
		return $this->_size;
	}

	/**
	 * @param field_type $_clothingId
	 */
	public function setClothingId($_clothingId) {
		$this->_clothingId = $_clothingId;
	}

	/**
	 * @param field_type $_type
	 */
	public function setType($_type) {
		$this->_type = $_type;
	}

	/**
	 * @param field_type $_matter
	 */
	public function setMatter($_matter) {
		$this->_matter = $_matter;
	}

	/**
	 * @param field_type $_for
	 */
	public function setFor($_for) {
		$this->_for = $_for;
	}

	/**
	 * @param field_type $_size
	 */
	public function setSize($_size) {
		$this->_size = $_size;
	}

	/**
	 * render the type of clothing
	 * @param int $i
	 * @return multitype:string
	 */
	public function getTypeRender($i){
		return $this::$_typeclothing[$i];
	}	

	/**
	 * render the clothing for
	 * @param int $i
	 * @return multitype:string
	 */
	public function getForRender($i){
		return $this::$_forChoice[$i];
	}
	
	
}